package hu.imind.phonecalc.client;

import hu.imind.phonecalc.client.dto.Call;
import hu.imind.phonecalc.client.dto.Contact;
import hu.imind.phonecalc.client.dto.NotLoggedInException;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("contact")
public interface ContactService extends RemoteService {
    public List<Contact> getContacts() throws NotLoggedInException;
    public boolean saveNumbers(String workNumbers, String privNumbers, List<Call> calls, String date) throws NotLoggedInException;
    public List<Call> getBill(String date) throws NotLoggedInException;
}
